Ext.define("admin.view.basicInfo.deviceListGridView", {
    extend: 'Ext.grid.Panel',
    alias: 'widget.basicInfo.deviceListGridView',
    columns: [{
        text: '设备编号',
        width: 150,
        sortable: true,
        dataIndex: 'deviceIdentifier'
    },{
        text: '设备名称',
        width: 150,
        sortable: true,
        dataIndex: 'deviceName'
    }, {
        text: '设备地址',
        width: 150,
        sortable: true,
        dataIndex: 'deviceAddress'
    }, {
        text: '设备连接',
        width: 150,
        sortable: true,
        dataIndex: 'deviceLink'
    },{
        text: '设备状态',
        width: 150,
        sortable: true,
        dataIndex: 'deviceStatus'
    }],
    selModel: {
        injectCheckbox: 0,
        mode: "SIMPLE",
        checkOnly: true
    },
    selType: "checkboxmodel",
    dockedItems: [{
        xtype:'pagingtoolbar',
        dock:'bottom',
        displayInfo:true
    },{
        xtype: 'toolbar',
        dock: 'top',
        margin:0,
        items: [{
            iconCls: 'add_16',
            text:'添加',
            handler: function () {

            }
        }, {
            iconCls: 'delete_16',
            text:'删除',
            handler: function () {

            }
        }, {
            iconCls: 'edit_16',
            text:'修改',
            handler: function () {

            }
        }]
    }]
});
